/*
 * Copyright 2009, Team Mondegreen:
 * Brian Hsieh - bh2181@columbia.edu
 * Eugene Yao - eyy2102@columbia.edu
 * Jake Amonette - jaa2149@columbia.edu
 * Tal Giat - tg2235@colubia.edu
 * 
 * This file is part of AMFM (A Minimal Fractal Music Language), a language created for
 * fractal music as part of the Programming Languages and Translator class at Columbia university.
 *
 * For more details go to: http://code.google.com/p/amfm/
 * 
 * AMFM is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * at your option any later version.
 * 
 * AMFM is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with AMFM.  If not, see <http://www.gnu.org/licenses/>. 
 *
 */

package org.mondegreen.amfm.compiler;

import java.io.File;

 

/**
 * Helper class to provide utility functions to all the tests
 * 
 * @author brian
 */
public class AmFmTestsHelper {
  public static String getTestFilesPath() {
    String packageName = new AmFmTestsHelper().getClass().getPackage().getName();
    String testFilesPath = "test" + File.separator + packageName.replaceAll("[.]", "\\" + File.separator) + File.separator;
    return testFilesPath;
  }
}

